package com.learn.multDataSource.mapper.mysql;

import com.learn.multDataSource.model.mysql.TDownloadHistory;
import com.learn.multDataSource.model.mysql.TDownloadHistoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TDownloadHistoryMapper {
    int countByExample(TDownloadHistoryExample example);

    int deleteByExample(TDownloadHistoryExample example);

    int deleteByPrimaryKey(Integer downloadId);

    int insert(TDownloadHistory record);

    int insertSelective(TDownloadHistory record);

    List<TDownloadHistory> selectByExample(TDownloadHistoryExample example);

    TDownloadHistory selectByPrimaryKey(Integer downloadId);

    int updateByExampleSelective(@Param("record") TDownloadHistory record, @Param("example") TDownloadHistoryExample example);

    int updateByExample(@Param("record") TDownloadHistory record, @Param("example") TDownloadHistoryExample example);

    int updateByPrimaryKeySelective(TDownloadHistory record);

    int updateByPrimaryKey(TDownloadHistory record);
}